      ***********************************************************
      *     This file was generated by AGT Decompiler v1.0
      ***********************************************************

COMMAND DEBUG ANY 
   ToggleFlag  0
   DoneWithTurn 
END_COMMAND

COMMAND READ BIBLE 
   Present  203  <--KING-JAMES BIBLE
   OR 
   IsCarrying  203  <--KING-JAMES BIBLE
   PrintMessage  1
   RandomMessage  2 5
   DoneWithTurn 
END_COMMAND

COMMAND READ BIBLE 
   NOT Present  203  <--KING-JAMES BIBLE
   PrintMessage  6
   QuitThisCMD 
END_COMMAND

COMMAND DIG ANY 
   NOT Present  210  <--DIRTY SHOVEL
   PrintMessage  7
   DoneWithTurn 
END_COMMAND

COMMAND DIG ANY 
   AtLocation  4  <--snake pit
   FlagOFF  1
   TurnFlagON  1
   PutInCurrentRoom  207  <--SMALL HOLE
   PrintMessage  8
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND DIG ANY 
   AtLocation  4  <--snake pit
   FlagON  1
   FlagOFF  2
   TurnFlagON  2
   Present  207  <--SMALL HOLE
   SwapLocations  207 208  <--SMALL HOLE, LARGE HOLE
   PrintMessage  10
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND DIG ANY 
   NOT AtLocation  4  <--snake pit
   PrintMessage  11
   DoneWithTurn 
END_COMMAND

COMMAND DIG ANY 
   AtLocation  4  <--snake pit
   FlagON  2
   FlagOFF  3
   TurnFlagON  3
   Present  208  <--LARGE HOLE
   SwapLocations  208 209  <--LARGE HOLE, HUGE HOLE
   PrintMessage  12
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND DIG ANY 
   AtLocation  4  <--snake pit
   FlagON  3
   Present  209  <--HUGE HOLE
   GoToRoom  5  <--dark tunnel middle
   PrintMessage  13
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK SNAKE 
   AtLocation  16  <--forest path south
   InRoom  301  <--RATTLE SNAKE
   Present  301  <--RATTLE SNAKE
   NOT Present  200  <--GREY STONE
   PrintMessage  14
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK SNAKE 
   AtLocation  16  <--forest path south
   NOT Present  301  <--RATTLE SNAKE
   NOT InRoom  301  <--RATTLE SNAKE
   PrintMessage  15
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK SNAKE 
   AtLocation  16  <--forest path south
   InRoom  301  <--RATTLE SNAKE
   Present  200  <--GREY STONE
   OR 
   IsCarrying  200  <--GREY STONE
   PrintMessage  16
   SwapLocations  301 211  <--RATTLE SNAKE, DEAD SNAKE
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK SNAKE 
   NOT AtLocation  16  <--forest path south
   PrintMessage  17
   DoneWithTurn 
END_COMMAND

COMMAND STAND ANY 
   AtLocation  8  <--sitting on throne
   GoToRoom  7  <--hall of the mountain king
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   NOT IsWearing  223  <--GOLD AMULET
   AtLocation  9  <--east side of bridge
   OR 
   AtLocation  10  <--west side of bridge
   Chance  90
   PrintMessage  18
   KillPlayer 
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH CIRCLE 
   NOT AtLocation  12  <--forest path north
   PrintMessage  19
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH CIRCLE 
   AtLocation  12  <--forest path north
   FlagOFF  4
   TurnFlagON  4
   PrintMessage  20
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH CIRCLE 
   AtLocation  12  <--forest path north
   FlagON  4
   PrintMessage  21
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH CIRCLE 
   AtLocation  12  <--forest path north
   FlagOFF  5
   PrintMessage  21
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH CIRCLE 
   AtLocation  12  <--forest path north
   FlagON  5
   PrintMessage  21
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH SQUARE 
   NOT AtLocation  12  <--forest path north
   PrintMessage  19
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH SQUARE 
   AtLocation  12  <--forest path north
   FlagOFF  4
   PrintMessage  21
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH SQUARE 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagOFF  5
   TurnFlagON  5
   PrintMessage  22
   ChangePassageway  1<--  <--NORTH, gloomy passage
   GoToRoom  13  <--gloomy passage
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH SQUARE 
   AtLocation  12  <--forest path north
   FlagON  5
   PrintMessage  23
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH TRIANGLE 
   NOT AtLocation  12  <--forest path north
   PrintMessage  19
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH TRIANGLE 
   AtLocation  12  <--forest path north
   FlagOFF  4
   FlagOFF  5
   PrintMessage  24
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH TRIANGLE 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagOFF  5
   PrintMessage  25
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH TRIANGLE 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagON  5
   PrintMessage  26
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH RECTANGLE 
   NOT AtLocation  12  <--forest path north
   PrintMessage  19
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH RECTANGLE 
   AtLocation  12  <--forest path north
   FlagOFF  4
   FlagOFF  5
   PrintMessage  27
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH RECTANGLE 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagOFF  5
   PrintMessage  28
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH RECTANGLE 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagON  5
   PrintMessage  29
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH OVAL 
   NOT AtLocation  12  <--forest path north
   PrintMessage  19
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH OVAL 
   AtLocation  12  <--forest path north
   FlagOFF  4
   FlagOFF  5
   PrintMessage  30
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH OVAL 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagOFF  5
   PrintMessage  31
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH OVAL 
   AtLocation  12  <--forest path north
   FlagON  4
   FlagON  5
   PrintMessage  32
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH MIRROR 
   AtLocation  15  <--mountain king private chamber
   Present  221  <--STRANGE MIRROR
   PrintMessage  33
   GoToRoom  11  <--narrow tunnel
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   Chance  20
   AtLocation  18  <--misty chamber
   NOT InRoom  302  <--HOLY PASTOR
   PutInCurrentRoom  302  <--HOLY PASTOR
   PrintMessage  34
   DoneWithTurn 
END_COMMAND

COMMAND TELL PASTOR 
   NOT AtLocation  18  <--misty chamber
   PrintMessage  35
   DoneWithTurn 
END_COMMAND

COMMAND TELL PASTOR 
   AtLocation  18  <--misty chamber
   NOT InRoom  302  <--HOLY PASTOR
   PrintMessage  35
   DoneWithTurn 
END_COMMAND

COMMAND TELL PASTOR 
   AtLocation  18  <--misty chamber
   InRoom  302  <--HOLY PASTOR
   FlagOFF  6
   TurnFlagON  6
   PrintMessage  36
   GetIt  226  <--EXTINGUISHED TORCH
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND TELL PASTOR 
   FlagON  6
   PrintMessage  37
   DoneWithTurn 
END_COMMAND

COMMAND LIGHT TORCH 
   Present  242  <--WET MATCHES
   PrintMessage  77
   DoneWithTurn 
END_COMMAND

COMMAND LIGHT TORCH 
   Present  226  <--EXTINGUISHED TORCH
   Present  202  <--WOODEN MATCHES
   SwapLocations  226 227  <--EXTINGUISHED TORCH, LIT TORCH
   PrintMessage  38
   TurnCounterON  1
   DoneWithTurn 
END_COMMAND

COMMAND LIGHT TORCH 
   Present  226  <--EXTINGUISHED TORCH
   NOT Present  202  <--WOODEN MATCHES
   PrintMessage  39
   DoneWithTurn 
END_COMMAND

COMMAND LIGHT TORCH 
   Present  235  <--USED TORCH
   PrintMessage  60
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   Present  227  <--LIT TORCH
   CounterEquals  1 85
   PrintMessage  40
   RoomNeedsLight 
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   Present  227  <--LIT TORCH
   CounterGT  1 85
   CounterLT  1 90
   PrintMessage  41
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   Present  227  <--LIT TORCH
   CounterEquals  1 90
   PrintMessage  42
   SwapLocations  227 235  <--LIT TORCH, USED TORCH
   RoomNeedsLight 
   TurnCounterON  2
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   RoomNeedsLight 
   NOT  LightPresent 
   CounterEquals  2 0
   PrintMessage  43
   TurnCounterON  2
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   CounterGT  2 1
   RoomNeedsLight 
   NOT  LightPresent 
   CounterEquals  2 5
   PrintMessage  43
   KillPlayer 
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   CounterGT  2 5
   RoomNeedsLight 
   NOT  LightPresent 
   TurnCounterON  2
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK TROLL 
   AtLocation  11  <--narrow tunnel
   InRoom  303  <--UGLY TROLL
   Present  303  <--UGLY TROLL
   NOT Present  228  <--IRON HAMMER
   PrintMessage  14
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK TROLL 
   AtLocation  11  <--narrow tunnel
   NOT Present  303  <--UGLY TROLL
   NOT InRoom  303  <--UGLY TROLL
   PrintMessage  15
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK TROLL 
   AtLocation  11  <--narrow tunnel
   InRoom  303  <--UGLY TROLL
   Present  228  <--IRON HAMMER
   OR 
   IsCarrying  228  <--IRON HAMMER
   PrintMessage  44
   Destroy  303  <--UGLY TROLL
   GetIt  224  <--BATTLE AXE
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK TROLL 
   NOT AtLocation  11  <--narrow tunnel
   PrintMessage  17
   DoneWithTurn 
END_COMMAND

COMMAND EXTINGUISH TORCH 
   Present  227  <--LIT TORCH
   PrintMessage  45
   SwapLocations  227 226  <--LIT TORCH, EXTINGUISHED TORCH
   TurnCounterOFF  1
   DoneWithTurn 
END_COMMAND

COMMAND DIVE ANY 
   AtLocation  23  <--beach middle
   PrintMessage  48
   GoToRoom  30  <--deeper lake
   KillPlayer 
   DoneWithTurn 
END_COMMAND

COMMAND DIVE ANY 
   AtLocation  27  <--east side of lake
   PrintMessage  46
   GoToRoom  28  <--swimming in lake
   DoneWithTurn 
END_COMMAND

COMMAND DIVE ANY 
   AtLocation  29  <--thin strip of beach
   PrintMessage  48
   GoToRoom  28  <--swimming in lake
   DoneWithTurn 
END_COMMAND

COMMAND DIVE ANY 
   NOT AtLocation  23  <--beach middle
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND DIVE ANY 
   NOT AtLocation  27  <--east side of lake
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND DIVE ANY 
   NOT AtLocation  29  <--thin strip of beach
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND SWIM ANY 
   AtLocation  23  <--beach middle
   PrintMessage  48
   GoToRoom  30  <--deeper lake
   KillPlayer 
   DoneWithTurn 
END_COMMAND

COMMAND SWIM ANY 
   AtLocation  29  <--thin strip of beach
   PrintMessage  48
   GoToRoom  28  <--swimming in lake
   DoneWithTurn 
END_COMMAND

COMMAND SWIM ANY 
   AtLocation  27  <--east side of lake
   PrintMessage  46
   GoToRoom  28  <--swimming in lake
   DoneWithTurn 
END_COMMAND

COMMAND SWIM ANY 
   NOT AtLocation  23  <--beach middle
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND SWIM ANY 
   NOT AtLocation  27  <--east side of lake
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND SWIM ANY 
   NOT AtLocation  29  <--thin strip of beach
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   NOT IsWearing  220  <--SILVER CRUCIFIX
   AtLocation  21  <--muddy cave
   Chance  80
   PrintMessage  49
   KillPlayer 
   DoneWithTurn 
END_COMMAND

COMMAND BUILD RAFT 
   AtLocation  23  <--beach middle
   Present  204  <--LONG ROPE
   Present  228  <--IRON HAMMER
   Present  229  <--WOODEN LOGS
   Present  230  <--WOODEN OARS
   FlagOFF  7
   TurnFlagON  7
   PutInCurrentRoom  231  <--WOODEN RAFT
   PrintMessage  50
   Destroy  204  <--LONG ROPE
   Destroy  229  <--WOODEN LOGS
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND BUILD RAFT 
   FlagON  7
   PrintMessage  59
   DoneWithTurn 
END_COMMAND

COMMAND BUILD RAFT 
   NOT AtLocation  23  <--beach middle
   PrintMessage  51
   DoneWithTurn 
END_COMMAND

COMMAND BUILD RAFT 
   AtLocation  23  <--beach middle
   PrintMessage  52
   DoneWithTurn 
END_COMMAND

COMMAND ZAMTHIA ANY 
   AtLocation  31  <--secret cave
   PrintMessage  53
   GoToRoom  2  <--forest
   DoneWithTurn 
END_COMMAND

COMMAND ZAMTHIA ANY 
   NOT AtLocation  31  <--secret cave
   PrintMessage  54
   DoneWithTurn 
END_COMMAND

COMMAND SAIL RAFT 
   AtLocation  23  <--beach middle
   Present  231  <--WOODEN RAFT
   Present  230  <--WOODEN OARS
   PrintMessage  55
   GoToRoom  32  <--north beach
   SendToRoom  231 32  <--WOODEN RAFT, north beach
   SendToRoom  230 32  <--WOODEN OARS, north beach
   DoneWithTurn 
END_COMMAND

COMMAND SAIL RAFT 
   AtLocation  32  <--north beach
   Present  231  <--WOODEN RAFT
   Present  230  <--WOODEN OARS
   PrintMessage  55
   GoToRoom  23  <--beach middle
   SendToRoom  231 23  <--WOODEN RAFT, beach middle
   SendToRoom  230 23  <--WOODEN OARS, beach middle
   DoneWithTurn 
END_COMMAND

COMMAND SAIL RAFT 
   NOT AtLocation  23  <--beach middle
   Present  230  <--WOODEN OARS
   PrintMessage  56
   DoneWithTurn 
END_COMMAND

COMMAND SAIL RAFT 
   NOT AtLocation  32  <--north beach
   Present  230  <--WOODEN OARS
   PrintMessage  56
   DoneWithTurn 
END_COMMAND

COMMAND SAIL RAFT 
   FlagON  7
   AtLocation  23  <--beach middle
   NOT Present  230  <--WOODEN OARS
   Present  231  <--WOODEN RAFT
   PrintMessage  58
   DoneWithTurn 
END_COMMAND

COMMAND SAIL RAFT 
   FlagON  7
   AtLocation  32  <--north beach
   NOT Present  230  <--WOODEN OARS
   Present  231  <--WOODEN RAFT
   PrintMessage  58
   DoneWithTurn 
END_COMMAND

COMMAND FEED ALLIGATOR 
   AtLocation  32  <--north beach
   InRoom  305  <--ANGRY ALLIGATOR
   Present  305  <--ANGRY ALLIGATOR
   NOT Present  211  <--DEAD SNAKE
   PrintMessage  61
   DoneWithTurn 
END_COMMAND

COMMAND FEED ALLIGATOR 
   AtLocation  32  <--north beach
   NOT Present  305  <--ANGRY ALLIGATOR
   NOT InRoom  305  <--ANGRY ALLIGATOR
   PrintMessage  62
   DoneWithTurn 
END_COMMAND

COMMAND FEED ALLIGATOR 
   AtLocation  32  <--north beach
   InRoom  305  <--ANGRY ALLIGATOR
   Present  211  <--DEAD SNAKE
   OR 
   IsCarrying  211  <--DEAD SNAKE
   PrintMessage  63
   Destroy  211  <--DEAD SNAKE
   Destroy  305  <--ANGRY ALLIGATOR
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND FEED ALLIGATOR 
   NOT AtLocation  32  <--north beach
   PrintMessage  17
   DoneWithTurn 
END_COMMAND

COMMAND CHOP TREES 
   AtLocation  29  <--thin strip of beach
   Present  236  <--MANY TREES
   Present  224  <--BATTLE AXE
   PrintMessage  64
   Destroy  236  <--MANY TREES
   SendToRoom  229 29  <--WOODEN LOGS, thin strip of beach
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND CHOP TREES 
   AtLocation  29  <--thin strip of beach
   NOT Present  236  <--MANY TREES
   PrintMessage  65
   DoneWithTurn 
END_COMMAND

COMMAND CHOP TREES 
   AtLocation  29  <--thin strip of beach
   NOT Present  224  <--BATTLE AXE
   PrintMessage  66
   DoneWithTurn 
END_COMMAND

COMMAND CHOP TREES 
   NOT AtLocation  29  <--thin strip of beach
   PrintMessage  67
   QuitThisCMD 
END_COMMAND

COMMAND ATTACK KING 
   AtLocation  7  <--hall of the mountain king
   InRoom  306  <--MOUNTAIN KING
   Present  306  <--MOUNTAIN KING
   NOT Present  232  <--LONG STALACTITE
   PrintMessage  14
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK KING 
   AtLocation  7  <--hall of the mountain king
   NOT Present  306  <--MOUNTAIN KING
   NOT InRoom  306  <--MOUNTAIN KING
   PrintMessage  15
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK KING 
   AtLocation  7  <--hall of the mountain king
   InRoom  306  <--MOUNTAIN KING
   Present  232  <--LONG STALACTITE
   OR 
   IsCarrying  232  <--LONG STALACTITE
   PrintMessage  68
   SwapLocations  306 233  <--MOUNTAIN KING, DEAD KING
   SendToRoom  240 7  <--RUBY RING, hall of the mountain king
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK KING 
   NOT AtLocation  7  <--hall of the mountain king
   PrintMessage  17
   DoneWithTurn 
END_COMMAND

COMMAND UNLOCK DOOR 
   AtLocation  33  <--path
   IsCarrying  234  <--SKELETON KEY
   PrintMessage  69
   ChangePassageway  1    <--NORTH, cold cave
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND UNLOCK DOOR 
   AtLocation  33  <--path
   NOT IsCarrying  234  <--SKELETON KEY
   PrintMessage  70
   DoneWithTurn 
END_COMMAND

COMMAND UNLOCK DOOR 
   NOT AtLocation  33  <--path
   PrintMessage  71
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   NOT IsWearing  240  <--RUBY RING
   AtLocation  35  <--cold cave
   PrintMessage  72
   SendToRoom  307 35  <--SPIRIT KING, cold cave
   DoneWithTurn 
END_COMMAND

COMMAND LOVE ALANDRIA 
   AtLocation  2  <--forest
   IsCarrying  238  <--PRINCESS ALANDRIA
   PrintMessage  73
   SendToRoom  238 36  <--PRINCESS ALANDRIA, palace
   GoToRoom  36  <--palace
   PlusScore  20
   DoneWithTurn 
END_COMMAND

COMMAND LOVE ALANDRIA 
   AtLocation  2  <--forest
   NOT Present  238  <--PRINCESS ALANDRIA
   PrintMessage  75
   DoneWithTurn 
END_COMMAND

COMMAND LOVE ALANDRIA 
   AtLocation  36  <--palace
   PrintMessage  74
   DoneWithTurn 
END_COMMAND

COMMAND LOVE ALANDRIA 
   Present  238  <--PRINCESS ALANDRIA
   PrintMessage  74
   DoneWithTurn 
END_COMMAND

COMMAND LOVE ALANDRIA 
   NOT Present  238  <--PRINCESS ALANDRIA
   PrintMessage  75
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   AtLocation  28  <--swimming in lake
   Present  202  <--WOODEN MATCHES
   PrintMessage  76
   SwapLocations  202 242  <--WOODEN MATCHES, WET MATCHES
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   AtLocation  28  <--swimming in lake
   Present  227  <--LIT TORCH
   PrintMessage  78
   SwapLocations  227 226  <--LIT TORCH, EXTINGUISHED TORCH
   TurnCounterOFF  1
   DoneWithTurn 
END_COMMAND

COMMAND TOUCH ALANDRIA 
   Present  238  <--PRINCESS ALANDRIA
   PrintMessage  79
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  30
   Tone  100 100
   Tone  200 100
   Tone  300 100
   Tone  400 100
   Tone  500 100
   Tone  600 100
   Tone  700 100
   Tone  800 100
   PrintMessage  80
   EndGame 
   DoneWithTurn 
END_COMMAND

